package cn.wolfcode.cms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//支出明细
@Getter
@Setter
public class ExpenditureItems {
    private Long id;
    //支出分类
    private String sort;
    //支出金额
    private BigDecimal money;
    //支出时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    //支出人员
    private Employee employee;
    //备注
    private String remark;

}